<!DOCTYPE html>
<html lang="en">
<head>
<meta name="robots" content="noarchive">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login - LetsDice.com</title>
<!-- Bootstrap -->
<link href="css/bootstrap.min.css" rel="stylesheet" media="screen">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">

<!-- fonts -->
<link rel="stylesheet" href="css/fonts-style.css" />
<!--[if lte IE 7]><script src="js/fonts-lte-ie7.js"></script><![endif]-->

<link href="css/style.css" rel="stylesheet" media="screen">
</head>
<body>

<div id="top" class="navbar navbar-inverse navbar-static-top">
	<div class="navbar-inner">
		<div class="container">
			<a class="brand" href="/" title="LetsDice.com Bitcoin Dice Game"><img src="/img/logo-sml.png" alt="LetsDice.com Logo"><span class="brand-name">LetsDice</span>.com</a>
			<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
          	</button>
          	<nav class="nav-collapse pull-right">
				<ul class="nav nav-pills">
										<li><a href="/account/">Account</a></li>
										
					<li><a href="/jackpot/history/">Jackpot</a></li>
					<li><a href="/dw/">Deposit / Withdrawal</a></li>
					<li><a href="/history/deposit/">History</a></li>
					<li><a href="/stat/">Stat</a></li>
					<li><a href="https://forum.letsdice.com/" target=_blank>Forum</a></li>
				</ul>
			</nav>
		</div>
	</div>
</div> <!-- /top -->


<div id="static" data-spy="affix" data-offset-top="50">
	<div class="container clearfix">
		<div class="row">
		
					<div class="pull-right text-right">
				<div class="span highlight static-inpot">
					<div class="title" data-toggle="tooltip" title="Jack Pot Amount"><i aria-hidden="true" data-icon="&#xe016;"></i>&nbsp;In-pot</div>
					<div class="num" id="site_jackpot_amount"><span>7<small>.47905893</small></span>&nbsp;<small>BTC</small></div>
				</div>
				<div class="span static-bet-counts">
					<div class="title">Bet count</div>
					<div class="num" id="site_bet_count">9,590,179</div>
				</div>
				<div class="span static-bitcoin-won">
					<div class="title">Bankroll</div>
					<div class="num"><span id="site_bankroll">9,925<small>.90643318</small></span>&nbsp;<small>BTC</small></div>
				</div>
				<div class="span static-site-wagered">
					<div class="title">Site wagered</div>
					<div class="num"><span id="site_stat_wagered">3,257<small>.56526525</small></span>&nbsp;<small>BTC</small></div>
				</div>
				<div class="span static-site-max-profit">
					<div class="title">Max Win</div>
					<div class="num"><span id="site_max_bet_profit">198</span>&nbsp;<small>BTC</small></div>
				</div>
			</div>
		</div>
	</div>
</div><!-- /static -->

<!-- page -->
<div id="page">





<!-- login and register form -->
<div class="container user-form">
	<div class="row">
		<div class="span6">
			<h1>Login</h1>
			<form class="form-horizontal" action="/login/" method="post" id="form_login">
				<div class="control-group">
					<label class="control-label" for="name_or_email">Username or Email</label>
					<div class="controls">
						<input type="text" id="name_or_email" class="span3" name="name_or_email" value="">
					</div>
				</div>
				
				<div class="control-group">
					<label class="control-label" for="password">Password</label>
					<div class="controls">
						<input type="password" class="span3" id="password" name="password">
					</div>
				</div>
				
				<div class="control-group">
					<label class="control-label" for="two_step_code">Google Auth</label>
					<div class="controls">
						<input type="text" class="span3" id="two_step_code" name="two_step_code">
						<span class="help-block">If needed.</span>
					</div>
				</div>
				
				<div class="control-group">
					<div class="controls">
						<button type="submit" class="btn btn-primary span3">Sign in</button>
					</div>
				</div>
			</form>
		</div>
		
		<div class="span6">
			<div class="register-holder">
				<div class="or">OR</div>
				<h2><a href="/" id="create_new_account" class="btn btn-primary">Create a new account.</a></h2>
									<p class="muted">You will be a child player of a random player, who bet the max amount of recent 20 bets. The parent player will get more rewards.</p>
					<p class="muted">If you have an invitation from your friend, you will be your friend's child player and make him/her to get more rewards.</p>
					<p class="muted">You can ask for an invite from your friends or another user in either the <a href="https://forum.letsdice.com/" target="_blank">LetsDice forum</a>, 
					or in the in-game chat window (<i>recommended</i>).</p>
								</div>
		</div>
		
	</div>
</div>



</div><!-- #page end -->

<!-- footer -->
<div id="footer">
	<div class="container">
		<ul class="pull-right nav nav-pills">
			<li class="dropdown language-menu dropup">
				<a href="#" data-toggle="dropdown" class="dropdown-toggle" title="en" id="locate_lang">
					<img src="/img/en.png" alt="en">
					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu" id="locate_lang_list">
					<li><a href="#" title="en"><img src="/img/en.png" alt="en"></a></li>
				</ul>
			</li>
			<li class="dropdown timezone-menu dropup">
							<a href="#" data-toggle="dropdown" class="dropdown-toggle" title="UTC&nbsp;+0:00" id="timezone_offset">
					UTC&nbsp;+0:00					<span class="caret"></span>
				</a>
				<ul class="dropdown-menu" id="timezone_list">
					<li><a href="#" title="UTC +14:00">UTC +14:00</a></li>
					<li><a href="#" title="UTC +13:00">UTC +13:00</a></li>
					<li><a href="#" title="UTC +12:00">UTC +12:00</a></li>
					<li><a href="#" title="UTC +11:00">UTC +11:00</a></li>
					<li><a href="#" title="UTC +10:00">UTC +10:00</a></li>
					<li><a href="#" title="UTC +09:00">UTC +09:00</a></li>
					<li><a href="#" title="UTC +08:00">UTC +08:00</a></li>
					<li><a href="#" title="UTC +07:00">UTC +07:00</a></li>
					<li><a href="#" title="UTC +06:00">UTC +06:00</a></li>
					<li><a href="#" title="UTC +05:00">UTC +05:00</a></li>
					<li><a href="#" title="UTC +04:00">UTC +04:00</a></li>
					<li><a href="#" title="UTC +03:00">UTC +03:00</a></li>
					<li><a href="#" title="UTC +02:00">UTC +02:00</a></li>
					<li><a href="#" title="UTC +01:00">UTC +01:00</a></li>
					<li><a href="#" title="UTC +00:00">UTC +00:00</a></li>
					<li><a href="#" title="UTC -01:00">UTC -01:00</a></li>
					<li><a href="#" title="UTC -02:00">UTC -02:00</a></li>
					<li><a href="#" title="UTC -03:00">UTC -03:00</a></li>
					<li><a href="#" title="UTC -04:00">UTC -04:00</a></li>
					<li><a href="#" title="UTC -05:00">UTC -05:00</a></li>
					<li><a href="#" title="UTC -06:00">UTC -06:00</a></li>
					<li><a href="#" title="UTC -07:00">UTC -07:00</a></li>
					<li><a href="#" title="UTC -08:00">UTC -08:00</a></li>
					<li><a href="#" title="UTC -09:00">UTC -09:00</a></li>
					<li><a href="#" title="UTC -10:00">UTC -10:00</a></li>
					<li><a href="#" title="UTC -11:00">UTC -11:00</a></li>
					<li><a href="#" title="UTC -12:00">UTC -12:00</a></li>
				</ul>
			</li>
		</ul>
	
		<ul class="footer-links text-center">
			<li>&copy; 2013 <a href="https://letsdice.com" rel="home">LetsDice.com</a></li>
			<li><a href="/fair/">Fair?</a></li>
			<li><a href="https://forum.letsdice.com/" target="_blank">Forum</a></li>
			<li><a href="https://ipo.letsdice.com/" target="_blank">IPO</a></li>
		</ul>
	</div>
</div>


<!-- loading -->
<div id="loading"></div>

<!-- chat window -->
<div class="chat hidden-phone" dragable="true">
<!-- 	<div class="chat-header"> -->
<!--		<span class="title"><i aria-hidden="true" data-icon="&#xe000;"></i><sup class="badge badge-important" style="display: none;">0</sup></span> -->
<!-- 	</div> -->
	
	<div class="chat-header">
		<a class="title"><i aria-hidden="true" data-icon="&#xe000;"></i><sup class="badge badge-important" style="display: none;">0</sup></a>
		<!-- 
		<div class="dropdown" title="Change language." data-toggle="tooltip" data-placement="bottom">
			<a class="chat-lang-btn dropdown-toggle" data-toggle="dropdown"><i aria-hidden="true" data-icon="&#xe014;"></i></a>
			<ul class="dropdown-menu">
				<li class="active"><a href="#" title="Simplified Chinese"><img src="img/flagpng/zh-CN.png" alt="Simplified Chinese"></a></li>
				<li class="active"><a href="#" title="English"><img src="img/flagpng/en.png" alt="English"></a></li>
				<li><a href="#" title="English"><img src="img/flagpng/en.png" alt="English"></a></li>
			</ul>
		</div>

		<div title="Toggle messages with invitation link." data-toggle="tooltip" data-placement="bottom"><a class="chat-filter-btn active"><i aria-hidden="true" data-icon="&#xe017"></i></a></div>
		-->
	</div>
	
	<div class="chat-body">
		<div class="notification">
			rewards of 2013-09-21 is delay, we're fixing it, don't worry about it.
		</div>
		<ul class="chat-list" id="chat_list_all"></ul>
	</div>
	
	<div class="chat-footer">
		<div class="input-holder">
			<form id="char_form" action="post">
				<input placeholder="press Enter to post" class="input-block-level" type="text" id="input_chat" autocomplete="off">
			</form>
		</div>
	</div>
</div>


<div class="alert alert-block fixed-top fade in hide" id="alert_box">
  <button type="button" class="close" data-dismiss="alert">&times;</button>
  <strong>Warning!</strong>
  <p></p>
</div>

<!-- inpot popover -->
<div class="popover top fade in inpot-popover" id="jackpot_pop">
	<h3 class="popover-title">Latest Jackpot Winner</h3>
	<div class="popover-content">
		<h4 class="text-win"><small>Lucky</small>&nbsp;<span>2265</span></h4>
	  	<p>Won:&nbsp;<strong>8.15725433</strong>&nbsp;<small>BTC</small></p>
	  	<p>Bet:&nbsp;<a target="_blank" href="/bet/detail/?bet_id=1199214">1199214</a></p>
	</div>
</div>


<!-- client seed -->
<div id="clientSeedModal" class="modal hide fade">
	<div class="modal-header">
		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
		<h3>Client Seed</h3>
	</div>
	<div class="modal-body">
		<div class="alert alert-info">
			<ul>
							<li>You may change the Client Seed to any alphanumeric combination you with, or you may choose to generate one randomly.</li>
				<li>The current Server Seed is private, you can only see the hash value of the seed. Once you have altered your client seed, you may view the previous Server Seed.</li>
				<li>Every player has their own Server Seed, to ensure the randomness of LetsDice.</li>
						</ul>
		</div>
		<div class="form-horizontal">
			<div class="control-group">
				<label class="control-label" for="client_seed">Client Seed</label>
				<div class="controls">
					<span class="input-append">
						<input type="text" id="client_seed" value="">
						<button class="btn" id="clientSeedRandomize">Randomize</button>
					</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="server_seed_id">Server Seed</label>
				<div class="controls">
					<span class="input-append">
						<input type="text" id="server_seed_id" value="" disabled>
						<button class="btn" id="serverSeedRandomize">Switch</button>
					</span>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="server_seed_hash">Server Seed Hash</label>
				<div class="controls">
					<textarea class="input-large" disabled id="server_seed_hash"></textarea>
				</div>
			</div>
			<div class="control-group">
				<label class="control-label" for="prev_server_seed">Client Nonce</label>
				<div class="controls">
					<input type="text" id="client_nonce" disabled value="0">
				</div>
			</div>
		</div>
	</div>
	<div class="modal-footer">
		<button class="btn" data-dismiss="modal">Close</button>
	</div>
</div>


<div id="jquery_jplayer"></div>



<!-- jQuery && Bootstrap -->
<script src="js/system.js"></script>
<script src="js/fn_config.js"></script>
<script src="js/site.js"></script>

<script src="js/jplayer/jquery.jplayer.min.js"></script>



<script>

$(function(){
	$.scrollUp({
		scrollName: 'scrollUp', // Element ID
		topDistance: '200', // Distance from top before showing element (px)
		topSpeed: 300, // Speed back to top (ms)
		animation: 'fade', // Fade, slide, none
		animationInSpeed: 200, // Animation in speed (ms)
		animationOutSpeed: 200, // Animation out speed (ms)
		scrollText: '', // Text for element
		activeOverlay: false  // Set CSS color to display scrollUp active point, e.g '#00FFFF'
	})
});
</script>

<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-44032890-1', 'letsdice.com');
  ga('send', 'pageview');
</script>

<!-- time: 4.0231 s -->
</body>
</html>

<script>
$(document).ready(function(){
	$("#name_or_email").focus();
	
	if ($.cookie('login_name_or_email')) {
		$("#name_or_email").val($.cookie('login_name_or_email'));
		$("#password").focus();
	}
	$("#form_login").submit(function() {
		$.cookie('login_name_or_email', $("#name_or_email").val(), {expires: 3, path: '/'});
	});
	$("#create_new_account").click(function() {
		$.removeCookie('user_hash', {path: '/'});
		$.removeCookie('user_id', {path: '/'});
		return true;
	});
});
</script>

